#include "expression.h"
#include <QtGui>
#include <QtDebug>
#include <QApplication>

using namespace AltMath;

int main(int argc, char** argv){
     QApplication _app(argc, argv);
     QString expr = "3 + 4 * 2 / ( 1 - 5 )";
     QString result, error;
     Expression::infixToPostfix(expr, result, error);
     qDebug() << result;
     return 0;
}
